docs/misc: livepatch: Escape backslash
authorJulien Grall <julien@xen.org>
Mon, 13 Jan 2020 22:05:31 +0000 (22:05 +0000)
committerJulien Grall <julien@xen.org>
Tue, 14 Jan 2020 13:34:50 +0000 (13:34 +0000)
commitf1cf75c2d18fcfc96744ef0380a757e8f91705a6
tree3517bd88abc05f76e2e62c2156d013e2238ea198
parent9c8705f8fe5bfb75a6a00163308d297059b61f6a
docs/misc: livepatch: Escape backslash

pandoc is currently failing to generate the pdf with the following
error:
! Undefined control sequence.
l.1048   metadata string format is: key=value\0

In this case, we want to print \0 so we need to backslash-escape the
first character.

Interestingly pandoc will not complain when creating html and will just
ignore \0 completely.

Fixes: 5083e0ff93 ("livepatch: Add metadata runtime retrieval mechanism")
Signed-off-by: Julien Grall <julien@xen.org>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
docs/misc/livepatch.pandoc